package com.ssm.service.Impl;

import com.ssm.dao.FeeDao;
import com.ssm.pojo.Fee;
import com.ssm.service.FeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class FeeServiceImpl implements FeeService {
    @Autowired
    private FeeDao feeDao;

    @Override
    public int insert(Fee fee) {
        return feeDao.insert(fee);
    }

    @Override
    public Fee selectByCustomer(int customer) {
        return feeDao.selectByCustomer(customer);
    }
}
